package com.ssy.lingxi.product.api.model.request.commodity;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Map;

/**
 * 商品价格
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/7/9
 */
@Data
public class UnitPriceRequest {

    /**
     * 主键id
     */
    @NotEmpty(message = "id不能为空")
    private Long id;

    /**
     * 商品单价
     */
    @NotEmpty(message = "商品单价不能为空")
    private Map<String,Double> unitPrice;

}
